﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="carsbytags.aspx.vb" Inherits="felixfinalproject2.carsbytags" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataSourceID="SqlDataSource1">
        <Columns>
            <asp:BoundField DataField="model" HeaderText="model" SortExpression="model" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:mercedesbenzconnectionstring %>" 
        ProviderName="<%$ ConnectionStrings:mercedesbenzconnectionstring.ProviderName %>" 
        SelectCommand="SELECT [model], [tagname] FROM [tagcarview] WHERE ([tagname] = ?)">
        <SelectParameters>
            <asp:QueryStringParameter Name="tagname" QueryStringField="tagname" 
                Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>
